package com.lzs.gateway.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 管理员表
 * </p>
 *
 * @author 刘中帅
 * @since 2020-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long userId;


    private String avatar;


    private String account;


    private String password;


    private String salt;


    private String name;


    private Date birthday;


    private String sex;


    private String email;


    private String phone;


    private String roleId;


    private Long deptId;


    private String status;


    private Date createTime;


    private Long createUser;


    private Date updateTime;


    private Long updateUser;


    private Integer version;


    private String info;


    private String pname;

}
